package net.zcy.zalllonely.common.exception.enums;

public enum ResultEnum {

    SYSTEM_ERROR(-1,"系统错误"),
    SUCCESS(1000,"成功"),
    OTHER_ERROR(1001,"其他错误")
    ;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private Integer code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
